home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / prim / rect.elc.z / rect.elc
Emacs Compiled Lisp  |  1998-05-21  |  5.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 34 3a 30 34 20 31 | 39 39 38 0a 3b 3b 3b 20 |:54:04 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 72 69 6d |s-20.3/l|isp/prim|
|000000a0| 2f 72 65 63 74 2e 65 6c | 0a 3b 3b 3b 20 65 6d 61 |/rect.el|.;;; ema|
|000000b0| 63 73 20 76 65 72 73 69 | 6f 6e 20 32 30 2e 34 20 |cs versi|on 20.4 |
|000000c0| 22 45 6d 65 72 61 6c 64 | 22 20 58 45 6d 61 63 73 |"Emerald|" XEmacs|
|000000d0| 20 20 4c 75 63 69 64 2e | 0a 3b 3b 3b 20 62 79 74 | Lucid.|.;;; byt|
|000000e0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 32 2e |ecomp ve|rsion 2.|
|000000f0| 32 35 20 58 45 6d 61 63 | 73 3b 20 32 32 2d 4d 61 |25 XEmac|s; 22-Ma|
|00000100| 72 2d 39 36 2e 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 |r-96..;;|; optimi|
|00000110| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|00000120| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|00000130| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|00000140| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000150| 6d 61 63 73 20 31 39 2e | 0a 0a 28 69 66 20 28 61 |macs 19.|..(if (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000170| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000180| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000190| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|000001a0| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|000001b0| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|000001c0| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|000001d0| 20 22 32 30 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "20")))|. (er|
|000001e0| 72 6f 72 20 22 60 72 65 | 63 74 2e 65 6c 27 20 77 |ror "`re|ct.el' w|
|000001f0| 61 73 20 63 6f 6d 70 69 | 6c 65 64 20 66 6f 72 20 |as compi|led for |
|00000200| 45 6d 61 63 73 20 32 30 | 22 29 29 0a 0a 28 6f 72 |Emacs 20|"))..(or|
|00000210| 20 28 62 6f 75 6e 64 70 | 20 27 63 75 72 72 65 6e | (boundp| 'curren|
|00000220| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 29 20 28 73 65 |t-load-l|ist) (se|
|00000230| 74 71 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |tq curre|nt-load-|
|00000240| 6c 69 73 74 20 6e 69 6c | 29 29 0a 0a 0a 23 40 35 |list nil|))...#@5|
|00000250| 34 31 20 43 61 6c 6c 20 | 46 55 4e 43 54 49 4f 4e |41 Call |FUNCTION|
|00000260| 20 66 6f 72 20 65 61 63 | 68 20 6c 69 6e 65 20 6f | for eac|h line o|
|00000270| 66 20 72 65 63 74 61 6e | 67 6c 65 20 77 69 74 68 |f rectan|gle with|
|00000280| 20 63 6f 72 6e 65 72 73 | 20 61 74 20 53 54 41 52 | corners| at STAR|
|00000290| 54 2c 20 45 4e 44 2e 0a | 49 66 20 43 4f 45 52 43 |T, END..|If COERC|
|000002a0| 45 2d 54 41 42 53 20 69 | 73 20 6e 6f 6e 2d 6e 69 |E-TABS i|s non-ni|
|000002b0| 6c 2c 20 63 6f 6e 76 65 | 72 74 20 6d 75 6c 74 69 |l, conve|rt multi|
|000002c0| 2d 63 6f 6c 75 6d 6e 20 | 63 68 61 72 61 63 74 65 |-column |characte|
|000002d0| 72 73 0a 74 68 61 74 20 | 73 70 61 6e 20 74 68 65 |rs.that |span the|
|000002e0| 20 73 74 61 72 74 69 6e | 67 20 6f 72 20 65 6e 64 | startin|g or end|
|000002f0| 69 6e 67 20 63 6f 6c 75 | 6d 6e 73 20 6f 6e 20 61 |ing colu|mns on a|
|00000300| 6e 79 20 6c 69 6e 65 0a | 74 6f 20 6d 75 6c 74 69 |ny line.|to multi|
|00000310| 70 6c 65 20 73 70 61 63 | 65 73 20 62 65 66 6f 72 |ple spac|es befor|
|00000320| 65 20 63 61 6c 6c 69 6e | 67 20 46 55 4e 43 54 49 |e callin|g FUNCTI|
|00000330| 4f 4e 2e 0a 46 55 4e 43 | 54 49 4f 4e 20 69 73 20 |ON..FUNC|TION is |
|00000340| 63 61 6c 6c 65 64 20 77 | 69 74 68 20 74 68 72 65 |called w|ith thre|
|00000350| 65 20 61 72 67 75 6d 65 | 6e 74 73 3a 0a 20 70 6f |e argume|nts:. po|
|00000360| 73 69 74 69 6f 6e 20 6f | 66 20 73 74 61 72 74 20 |sition o|f start |
|00000370| 6f 66 20 73 65 67 6d 65 | 6e 74 20 6f 66 20 74 68 |of segme|nt of th|
|00000380| 69 73 20 6c 69 6e 65 20 | 77 69 74 68 69 6e 20 74 |is line |within t|
|00000390| 68 65 20 72 65 63 74 61 | 6e 67 6c 65 2c 0a 20 6e |he recta|ngle,. n|
|000003a0| 75 6d 62 65 72 20 6f 66 | 20 63 6f 6c 75 6d 6e 73 |umber of| columns|
|000003b0| 20 74 68 61 74 20 62 65 | 6c 6f 6e 67 20 74 6f 20 | that be|long to |
|000003c0| 72 65 63 74 61 6e 67 6c | 65 20 62 75 74 20 61 72 |rectangl|e but ar|
|000003d0| 65 20 62 65 66 6f 72 65 | 20 74 68 61 74 20 70 6f |e before| that po|
|000003e0| 73 69 74 69 6f 6e 2c 0a | 20 6e 75 6d 62 65 72 20 |sition,.| number |
|000003f0| 6f 66 20 63 6f 6c 75 6d | 6e 73 20 74 68 61 74 20 |of colum|ns that |
|00000400| 62 65 6c 6f 6e 67 20 74 | 6f 20 72 65 63 74 61 6e |belong t|o rectan|
|00000410| 67 6c 65 20 62 75 74 20 | 61 72 65 20 61 66 74 65 |gle but |are afte|
|00000420| 72 20 70 6f 69 6e 74 2e | 0a 50 6f 69 6e 74 20 69 |r point.|.Point i|
|00000430| 73 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |s at the| end of |
|00000440| 74 68 65 20 73 65 67 6d | 65 6e 74 20 6f 66 20 74 |the segm|ent of t|
|00000450| 68 69 73 20 6c 69 6e 65 | 20 77 69 74 68 69 6e 20 |his line| within |
|00000460| 74 68 65 20 72 65 63 74 | 61 6e 67 6c 65 2e 1f 0a |the rect|angle...|
|00000470| 28 64 65 66 61 6c 69 61 | 73 20 27 6f 70 65 72 61 |(defalia|s 'opera|
|00000480| 74 65 2d 6f 6e 2d 72 65 | 63 74 61 6e 67 6c 65 20 |te-on-re|ctangle |
|00000490| 23 5b 28 66 75 6e 63 74 | 69 6f 6e 20 73 74 61 72 |#[(funct|ion star|
|000004a0| 74 20 65 6e 64 20 63 6f | 65 72 63 65 2d 74 61 62 |t end co|erce-tab|
|000004b0| 73 20 26 72 65 73 74 20 | 65 78 74 72 61 2d 61 72 |s &rest |extra-ar|
|000004c0| 67 73 29 20 22 c0 89 89 | 89 19 1a 1b 1c 8a 0d 62 |gs) "...|.......b|
|000004d0| 88 69 14 c6 79 88 60 13 | 29 8a 0e 07 62 88 69 12 |.i..y.`.|)...b.i.|
|000004e0| c8 79 88 c9 20 11 29 5c | 6e 0c 57 ab 89 0c 1e 5c |.y.. .)\|n.W....\|
|000004f0| 6e 5c 6e 14 0e 5c 6e 12 | 29 8a 0b 62 88 60 09 57 |n\n..\n.|)..b.`.W|
|00000500| ab ce c0 89 89 1e 0b 1e | 0c 1e 0d ce 0c 0e 0f 5c |........|.......\|
|00000510| 22 88 69 0c 5a 16 0c 60 | 16 0d ce 5c 6e 0e 0f 5c |".i.Z..`|...\n..\|
|00000520| 22 88 5c 6e 69 5a 16 0b | 0e 0c c6 57 ab 8a 0e 0b |".\niZ..|...W....|
|00000530| 0e 0c 5c 5c 16 0b c6 16 | 0c 0e 0b c6 57 ab 83 c6 |..\\....|....W...|
|00000540| 16 0b d0 0e 11 0e 0d 0e | 0c 0e 0b 0e 12 25 88 2b |........|.....%.+|
|00000550| c8 79 88 aa 2d 29 5c 6e | 0c 5a 2c 87 22 20 5b 6e |.y..-)\n|.Z,." [n|
|00000560| 69 6c 20 65 6e 64 6c 69 | 6e 65 70 6f 73 20 65 6e |il endli|nepos en|
|00000570| 64 63 6f 6c 20 73 74 61 | 72 74 6c 69 6e 65 70 6f |dcol sta|rtlinepo|
|00000580| 73 20 73 74 61 72 74 63 | 6f 6c 20 73 74 61 72 74 |s startc|ol start|
|00000590| 20 30 20 65 6e 64 20 31 | 20 70 6f 69 6e 74 2d 6d | 0 end 1| point-m|
|000005a0| 61 72 6b 65 72 20 74 65 | 6d 20 65 6e 64 65 78 74 |arker te|m endext|
|000005b0| 72 61 20 62 65 67 65 78 | 74 72 61 20 73 74 61 72 |ra begex|tra star|
|000005c0| 74 70 6f 73 20 6d 6f 76 | 65 2d 74 6f 2d 63 6f 6c |tpos mov|e-to-col|
|000005d0| 75 6d 6e 20 63 6f 65 72 | 63 65 2d 74 61 62 73 20 |umn coer|ce-tabs |
|000005e0| 61 70 70 6c 79 20 66 75 | 6e 63 74 69 6f 6e 20 65 |apply fu|nction e|
|000005f0| 78 74 72 61 2d 61 72 67 | 73 5d 20 36 20 28 23 24 |xtra-arg|s] 6 (#$|
|00000600| 20 2e 20 35 39 35 29 5d | 29 0a 28 64 65 66 61 6c | . 595)]|).(defal|
|00000610| 69 61 73 20 27 64 65 6c | 65 74 65 2d 72 65 63 74 |ias 'del|ete-rect|
|00000620| 61 6e 67 6c 65 2d 6c 69 | 6e 65 20 23 5b 28 73 74 |angle-li|ne #[(st|
|00000630| 61 72 74 64 65 6c 70 6f | 73 20 69 67 6e 6f 72 65 |artdelpo|s ignore|
|00000640| 20 69 67 6e 6f 72 65 29 | 20 22 08 60 7c 87 22 20 | ignore)| ".`|." |
|00000650| 5b 73 74 61 72 74 64 65 | 6c 70 6f 73 5d 20 32 5d |[startde|lpos] 2]|
|00000660| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 6c |).(defal|ias 'del|
|00000670| 65 74 65 2d 65 78 74 72 | 61 63 74 2d 72 65 63 74 |ete-extr|act-rect|
|00000680| 61 6e 67 6c 65 2d 6c 69 | 6e 65 20 23 5b 28 73 74 |angle-li|ne #[(st|
|00000690| 61 72 74 64 65 6c 70 6f | 73 20 62 65 67 65 78 74 |artdelpo|s begext|
|000006a0| 72 61 20 65 6e 64 65 78 | 74 72 61 20 6c 69 6e 65 |ra endex|tra line|
|000006b0| 73 29 20 22 8a c0 09 5c | 6e 0b 0c 24 88 29 09 60 |s) "...\|n..$.).`|
|000006c0| 7c 87 22 20 5b 65 78 74 | 72 61 63 74 2d 72 65 63 ||." [ext|ract-rec|
|000006d0| 74 61 6e 67 6c 65 2d 6c | 69 6e 65 20 73 74 61 72 |tangle-l|ine star|
|000006e0| 74 64 65 6c 70 6f 73 20 | 62 65 67 65 78 74 72 61 |tdelpos |begextra|
|000006f0| 20 65 6e 64 65 78 74 72 | 61 20 6c 69 6e 65 73 5d | endextr|a lines]|
|00000700| 20 35 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 5]).(de|falias '|
|00000710| 65 78 74 72 61 63 74 2d | 72 65 63 74 61 6e 67 6c |extract-|rectangl|
|00000720| 65 2d 6c 69 6e 65 20 23 | 5b 28 73 74 61 72 74 64 |e-line #|[(startd|
|00000730| 65 6c 70 6f 73 20 62 65 | 67 65 78 74 72 61 20 65 |elpos be|gextra e|
|00000740| 6e 64 65 78 74 72 61 20 | 6c 69 6e 65 73 29 20 22 |ndextra |lines) "|
|00000750| 08 60 7b 60 19 1a 08 62 | 88 c3 c4 09 c5 23 ab a4 |.`{`...b|.....#..|
|00000760| 69 8a c6 75 88 69 29 5a | 1e 07 5c 6e c8 60 09 5a |i..u.i)Z|..\n.`.Z|
|00000770| c9 5a 4f ca 0e 07 21 5c | 6e 89 47 60 09 5a 5c 5c |.ZO...!\|n.G`.Z\\|
|00000780| cb 4f 51 12 29 aa 55 0e | 0c c8 56 ac 86 0e 0d c8 |.OQ.).U.|..V.....|
|00000790| 56 ab 8b ca 0e 0c 21 5c | 6e ca 0e 0d 21 51 12 0e |V.....!\|n...!Q..|
|000007a0| 0e 5c 6e 0e 0e 41 42 a1 | 2a 87 22 20 5b 73 74 61 |.\n..AB.|*." [sta|
|000007b0| 72 74 64 65 6c 70 6f 73 | 20 65 6e 64 20 6c 69 6e |rtdelpos| end lin|
|000007c0| 65 20 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e search|-forward|
|000007d0| 20 22 09 22 20 74 20 2d | 31 20 77 69 64 74 68 20 | "." t -|1 width |
|000007e0| 30 20 31 20 73 70 61 63 | 65 73 2d 73 74 72 69 6e |0 1 spac|es-strin|
|000007f0| 67 20 6e 69 6c 20 62 65 | 67 65 78 74 72 61 20 65 |g nil be|gextra e|
|00000800| 6e 64 65 78 74 72 61 20 | 6c 69 6e 65 73 5d 20 36 |ndextra |lines] 6|
|00000810| 5d 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |]).(byte|-code ".|
|00000820| c1 21 12 c2 0b 42 13 c0 | 87 22 20 5b 70 75 72 65 |.!...B..|." [pure|
|00000830| 63 6f 70 79 20 5b 22 22 | 20 22 20 22 20 22 20 20 |copy [""| " " " |
|00000840| 22 20 22 20 20 20 22 20 | 22 20 20 20 20 22 20 22 |" " " |" " "|
|00000850| 20 20 20 20 20 22 20 22 | 20 20 20 20 20 20 22 20 | " "| " |
|00000860| 22 20 20 20 20 20 20 20 | 22 20 22 20 20 20 20 20 |" |" " |
|00000870| 20 20 20 22 5d 20 73 70 | 61 63 65 73 2d 73 74 72 | "] sp|aces-str|
|00000880| 69 6e 67 73 20 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |ings cur|rent-loa|
|00000890| 64 2d 6c 69 73 74 5d 20 | 32 29 0a 28 64 65 66 61 |d-list] |2).(defa|
|000008a0| 6c 69 61 73 20 27 73 70 | 61 63 65 73 2d 73 74 72 |lias 'sp|aces-str|
|000008b0| 69 6e 67 20 23 5b 28 6e | 29 20 22 08 c1 58 ab 84 |ing #[(n|) "..X..|
|000008c0| 5c 6e 08 48 87 c3 1c 08 | c1 56 ab 8b c5 0c 50 14 |\n.H....|.V....P.|
|000008d0| 08 c1 5a 89 10 aa 71 0c | 5c 6e 08 48 50 29 87 22 |..Z...q.|\n.HP)."|
|000008e0| 20 5b 6e 20 38 20 73 70 | 61 63 65 73 2d 73 74 72 | [n 8 sp|aces-str|
|000008f0| 69 6e 67 73 20 22 22 20 | 76 61 6c 20 22 20 20 20 |ings "" |val " |
|00000900| 20 20 20 20 20 22 5d 20 | 34 5d 29 0a 23 40 32 31 | "] |4]).#@21|
|00000910| 36 20 44 65 6c 65 74 65 | 20 28 64 6f 6e 27 74 20 |6 Delete| (don't |
|00000920| 73 61 76 65 29 20 74 65 | 78 74 20 69 6e 20 72 65 |save) te|xt in re|
|00000930| 63 74 61 6e 67 6c 65 20 | 77 69 74 68 20 70 6f 69 |ctangle |with poi|
|00000940| 6e 74 20 61 6e 64 20 6d | 61 72 6b 20 61 73 20 63 |nt and m|ark as c|
|00000950| 6f 72 6e 65 72 73 2e 0a | 54 68 65 20 73 61 6d 65 |orners..|The same|
|00000960| 20 72 61 6e 67 65 20 6f | 66 20 63 6f 6c 75 6d 6e | range o|f column|
|00000970| 73 20 69 73 20 64 65 6c | 65 74 65 64 20 69 6e 20 |s is del|eted in |
|00000980| 65 61 63 68 20 6c 69 6e | 65 20 73 74 61 72 74 69 |each lin|e starti|
|00000990| 6e 67 20 77 69 74 68 20 | 74 68 65 20 6c 69 6e 65 |ng with |the line|
|000009a0| 0a 77 68 65 72 65 20 74 | 68 65 20 72 65 67 69 6f |.where t|he regio|
|000009b0| 6e 20 62 65 67 69 6e 73 | 20 61 6e 64 20 65 6e 64 |n begins| and end|
|000009c0| 69 6e 67 20 77 69 74 68 | 20 74 68 65 20 6c 69 6e |ing with| the lin|
|000009d0| 65 20 77 68 65 72 65 20 | 74 68 65 20 72 65 67 69 |e where |the regi|
|000009e0| 6f 6e 20 65 6e 64 73 2e | 1f 0a 28 64 65 66 61 6c |on ends.|..(defal|
|000009f0| 69 61 73 20 27 64 65 6c | 65 74 65 2d 72 65 63 74 |ias 'del|ete-rect|
|00000a00| 61 6e 67 6c 65 20 23 5b | 28 73 74 61 72 74 20 65 |angle #[|(start e|
|00000a10| 6e 64 29 20 22 c0 c1 5c | 6e 0b c4 24 87 22 20 5b |nd) "..\|n..$." [|
|00000a20| 6f 70 65 72 61 74 65 2d | 6f 6e 2d 72 65 63 74 61 |operate-|on-recta|
|00000a30| 6e 67 6c 65 20 64 65 6c | 65 74 65 2d 72 65 63 74 |ngle del|ete-rect|
|00000a40| 61 6e 67 6c 65 2d 6c 69 | 6e 65 20 73 74 61 72 74 |angle-li|ne start|
|00000a50| 20 65 6e 64 20 74 5d 20 | 35 20 28 23 24 20 2e 20 | end t] |5 (#$ . |
|00000a60| 32 33 32 32 29 20 22 72 | 22 5d 29 0a 23 40 31 39 |2322) "r|"]).#@19|
|00000a70| 30 20 44 65 6c 65 74 65 | 20 63 6f 6e 74 65 6e 74 |0 Delete| content|
|00000a80| 73 20 6f 66 20 72 65 63 | 74 61 6e 67 6c 65 20 61 |s of rec|tangle a|
|00000a90| 6e 64 20 72 65 74 75 72 | 6e 20 69 74 20 61 73 20 |nd retur|n it as |
|00000aa0| 61 20 6c 69 73 74 20 6f | 66 20 73 74 72 69 6e 67 |a list o|f string|
|00000ab0| 73 2e 0a 41 72 67 75 6d | 65 6e 74 73 20 53 54 41 |s..Argum|ents STA|
|00000ac0| 52 54 20 61 6e 64 20 45 | 4e 44 20 61 72 65 20 74 |RT and E|ND are t|
|00000ad0| 68 65 20 63 6f 72 6e 65 | 72 73 20 6f 66 20 74 68 |he corne|rs of th|
|00000ae0| 65 20 72 65 63 74 61 6e | 67 6c 65 2e 0a 54 68 65 |e rectan|gle..The|
|00000af0| 20 76 61 6c 75 65 20 69 | 73 20 6c 69 73 74 20 6f | value i|s list o|
|00000b00| 66 20 73 74 72 69 6e 67 | 73 2c 20 6f 6e 65 20 66 |f string|s, one f|
|00000b10| 6f 72 20 65 61 63 68 20 | 6c 69 6e 65 20 6f 66 20 |or each |line of |
|00000b20| 74 68 65 20 72 65 63 74 | 61 6e 67 6c 65 2e 1f 0a |the rect|angle...|
|00000b30| 28 64 65 66 61 6c 69 61 | 73 20 27 64 65 6c 65 74 |(defalia|s 'delet|
|00000b40| 65 2d 65 78 74 72 61 63 | 74 2d 72 65 63 74 61 6e |e-extrac|t-rectan|
|00000b50| 67 6c 65 20 23 5b 28 73 | 74 61 72 74 20 65 6e 64 |gle #[(s|tart end|
|00000b60| 29 20 22 c0 43 19 c2 c3 | 0c 0d c6 09 25 88 09 41 |) ".C...|....%..A|
|00000b70| 9f 29 87 22 20 5b 6e 69 | 6c 20 6c 69 6e 65 73 20 |.)." [ni|l lines |
|00000b80| 6f 70 65 72 61 74 65 2d | 6f 6e 2d 72 65 63 74 61 |operate-|on-recta|
|00000b90| 6e 67 6c 65 20 64 65 6c | 65 74 65 2d 65 78 74 72 |ngle del|ete-extr|
|00000ba0| 61 63 74 2d 72 65 63 74 | 61 6e 67 6c 65 2d 6c 69 |act-rect|angle-li|
|00000bb0| 6e 65 20 73 74 61 72 74 | 20 65 6e 64 20 74 5d 20 |ne start| end t] |
|00000bc0| 36 20 28 23 24 20 2e 20 | 32 36 37 34 29 5d 29 0a |6 (#$ . |2674)]).|
|00000bd0| 23 40 31 32 33 20 52 65 | 74 75 72 6e 20 63 6f 6e |#@123 Re|turn con|
|00000be0| 74 65 6e 74 73 20 6f 66 | 20 72 65 63 74 61 6e 67 |tents of| rectang|
|00000bf0| 6c 65 20 77 69 74 68 20 | 63 6f 72 6e 65 72 73 20 |le with |corners |
|00000c00| 61 74 20 53 54 41 52 54 | 20 61 6e 64 20 45 4e 44 |at START| and END|
|00000c10| 2e 0a 56 61 6c 75 65 20 | 69 73 20 6c 69 73 74 20 |..Value |is list |
|00000c20| 6f 66 20 73 74 72 69 6e | 67 73 2c 20 6f 6e 65 20 |of strin|gs, one |
|00000c30| 66 6f 72 20 65 61 63 68 | 20 6c 69 6e 65 20 6f 66 |for each| line of|
|00000c40| 20 74 68 65 20 72 65 63 | 74 61 6e 67 6c 65 2e 1f | the rec|tangle..|
|00000c50| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 78 74 72 |.(defali|as 'extr|
|00000c60| 61 63 74 2d 72 65 63 74 | 61 6e 67 6c 65 20 23 5b |act-rect|angle #[|
|00000c70| 28 73 74 61 72 74 20 65 | 6e 64 29 20 22 c0 43 19 |(start e|nd) ".C.|
|00000c80| c2 c3 0c 0d c0 09 25 88 | 09 41 9f 29 87 22 20 5b |......%.|.A.)." [|
|00000c90| 6e 69 6c 20 6c 69 6e 65 | 73 20 6f 70 65 72 61 74 |nil line|s operat|
|00000ca0| 65 2d 6f 6e 2d 72 65 63 | 74 61 6e 67 6c 65 20 65 |e-on-rec|tangle e|
|00000cb0| 78 74 72 61 63 74 2d 72 | 65 63 74 61 6e 67 6c 65 |xtract-r|ectangle|
|00000cc0| 2d 6c 69 6e 65 20 73 74 | 61 72 74 20 65 6e 64 5d |-line st|art end]|
|00000cd0| 20 36 20 28 23 24 20 2e | 20 33 30 33 30 29 5d 29 | 6 (#$ .| 3030)])|
|00000ce0| 0a 23 40 34 31 20 52 65 | 63 74 61 6e 67 6c 65 20 |.#@41 Re|ctangle |
|00000cf0| 66 6f 72 20 79 61 6e 6b | 2d 72 65 63 74 61 6e 67 |for yank|-rectang|
|00000d00| 6c 65 20 74 6f 20 69 6e | 73 65 72 74 2e 1f 0a 28 |le to in|sert...(|
|00000d10| 64 65 66 76 61 72 20 6b | 69 6c 6c 65 64 2d 72 65 |defvar k|illed-re|
|00000d20| 63 74 61 6e 67 6c 65 20 | 6e 69 6c 20 28 23 24 20 |ctangle |nil (#$ |
|00000d30| 2e 20 33 33 30 32 29 29 | 0a 23 40 32 31 34 20 44 |. 3302))|.#@214 D|
|00000d40| 65 6c 65 74 65 20 72 65 | 63 74 61 6e 67 6c 65 20 |elete re|ctangle |
|00000d50| 77 69 74 68 20 63 6f 72 | 6e 65 72 73 20 61 74 20 |with cor|ners at |
|00000d60| 70 6f 69 6e 74 20 61 6e | 64 20 6d 61 72 6b 3b 20 |point an|d mark; |
|00000d70| 73 61 76 65 20 61 73 20 | 6c 61 73 74 20 6b 69 6c |save as |last kil|
|00000d80| 6c 65 64 20 6f 6e 65 2e | 0a 43 61 6c 6c 69 6e 67 |led one.|.Calling|
|00000d90| 20 66 72 6f 6d 20 70 72 | 6f 67 72 61 6d 2c 20 73 | from pr|ogram, s|
|00000da0| 75 70 70 6c 79 20 74 77 | 6f 20 61 72 67 73 20 53 |upply tw|o args S|
|00000db0| 54 41 52 54 20 61 6e 64 | 20 45 4e 44 2c 20 62 75 |TART and| END, bu|
|00000dc0| 66 66 65 72 20 70 6f 73 | 69 74 69 6f 6e 73 2e 0a |ffer pos|itions..|
|00000dd0| 42 75 74 20 69 6e 20 70 | 72 6f 67 72 61 6d 73 20 |But in p|rograms |
|00000de0| 79 6f 75 20 6d 69 67 68 | 74 20 70 72 65 66 65 72 |you migh|t prefer|
|00000df0| 20 74 6f 20 75 73 65 20 | 60 64 65 6c 65 74 65 2d | to use |`delete-|
|00000e00| 65 78 74 72 61 63 74 2d | 72 65 63 74 61 6e 67 6c |extract-|rectangl|
|00000e10| 65 27 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |e'...(de|falias '|
|00000e20| 6b 69 6c 6c 2d 72 65 63 | 74 61 6e 67 6c 65 20 23 |kill-rec|tangle #|
|00000e30| 5b 28 73 74 61 72 74 20 | 65 6e 64 29 20 22 08 ab |[(start |end) "..|
|00000e40| 88 c1 5c 6e 0b 5c 22 14 | c5 20 88 c6 5c 6e 0b 5c |..\n.\".|. ..\n.\|
|00000e50| 22 89 14 87 22 20 5b 62 | 75 66 66 65 72 2d 72 65 |"..." [b|uffer-re|
|00000e60| 61 64 2d 6f 6e 6c 79 20 | 65 78 74 72 61 63 74 2d |ad-only |extract-|
|00000e70| 72 65 63 74 61 6e 67 6c | 65 20 73 74 61 72 74 20 |rectangl|e start |
|00000e80| 65 6e 64 20 6b 69 6c 6c | 65 64 2d 72 65 63 74 61 |end kill|ed-recta|
|00000e90| 6e 67 6c 65 20 62 61 72 | 66 2d 69 66 2d 62 75 66 |ngle bar|f-if-buf|
|00000ea0| 66 65 72 2d 72 65 61 64 | 2d 6f 6e 6c 79 20 64 65 |fer-read|-only de|
|00000eb0| 6c 65 74 65 2d 65 78 74 | 72 61 63 74 2d 72 65 63 |lete-ext|ract-rec|
|00000ec0| 74 61 6e 67 6c 65 5d 20 | 33 20 28 23 24 20 2e 20 |tangle] |3 (#$ . |
|00000ed0| 33 33 39 31 29 20 22 72 | 22 5d 29 0a 23 40 36 35 |3391) "r|"]).#@65|
|00000ee0| 20 59 61 6e 6b 20 74 68 | 65 20 6c 61 73 74 20 6b | Yank th|e last k|
|00000ef0| 69 6c 6c 65 64 20 72 65 | 63 74 61 6e 67 6c 65 20 |illed re|ctangle |
|00000f00| 77 69 74 68 20 75 70 70 | 65 72 20 6c 65 66 74 20 |with upp|er left |
|00000f10| 63 6f 72 6e 65 72 20 61 | 74 20 70 6f 69 6e 74 2e |corner a|t point.|
|00000f20| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 79 61 6e |..(defal|ias 'yan|
|00000f30| 6b 2d 72 65 63 74 61 6e | 67 6c 65 20 23 5b 6e 69 |k-rectan|gle #[ni|
|00000f40| 6c 20 22 c0 09 21 87 22 | 20 5b 69 6e 73 65 72 74 |l "..!."| [insert|
|00000f50| 2d 72 65 63 74 61 6e 67 | 6c 65 20 6b 69 6c 6c 65 |-rectang|le kille|
|00000f60| 64 2d 72 65 63 74 61 6e | 67 6c 65 5d 20 32 20 28 |d-rectan|gle] 2 (|
|00000f70| 23 24 20 2e 20 33 38 30 | 39 29 20 6e 69 6c 5d 29 |#$ . 380|9) nil])|
|00000f80| 0a 23 40 33 30 38 20 49 | 6e 73 65 72 74 20 74 65 |.#@308 I|nsert te|
|00000f90| 78 74 20 6f 66 20 52 45 | 43 54 41 4e 47 4c 45 20 |xt of RE|CTANGLE |
|00000fa0| 77 69 74 68 20 75 70 70 | 65 72 20 6c 65 66 74 20 |with upp|er left |
|00000fb0| 63 6f 72 6e 65 72 20 61 | 74 20 70 6f 69 6e 74 2e |corner a|t point.|
|00000fc0| 0a 52 45 43 54 41 4e 47 | 4c 45 27 73 20 66 69 72 |.RECTANG|LE's fir|
|00000fd0| 73 74 20 6c 69 6e 65 20 | 69 73 20 69 6e 73 65 72 |st line |is inser|
|00000fe0| 74 65 64 20 61 74 20 70 | 6f 69 6e 74 2c 20 69 74 |ted at p|oint, it|
|00000ff0| 73 20 73 65 63 6f 6e 64 | 0a 6c 69 6e 65 20 69 73 |s second|.line is|
|00001000| 20 69 6e 73 65 72 74 65 | 64 20 61 74 20 61 20 70 | inserte|d at a p|
|00001010| 6f 69 6e 74 20 76 65 72 | 74 69 63 61 6c 6c 79 20 |oint ver|tically |
|00001020| 75 6e 64 65 72 20 70 6f | 69 6e 74 2c 20 65 74 63 |under po|int, etc|
|00001030| 2e 0a 52 45 43 54 41 4e | 47 4c 45 20 73 68 6f 75 |..RECTAN|GLE shou|
|00001040| 6c 64 20 62 65 20 61 20 | 6c 69 73 74 20 6f 66 20 |ld be a |list of |
|00001050| 73 74 72 69 6e 67 73 2e | 0a 41 66 74 65 72 20 74 |strings.|.After t|
|00001060| 68 69 73 20 63 6f 6d 6d | 61 6e 64 2c 20 74 68 65 |his comm|and, the|
|00001070| 20 6d 61 72 6b 20 69 73 | 20 61 74 20 74 68 65 20 | mark is| at the |
|00001080| 75 70 70 65 72 20 6c 65 | 66 74 20 63 6f 72 6e 65 |upper le|ft corne|
|00001090| 72 0a 61 6e 64 20 70 6f | 69 6e 74 20 69 73 20 61 |r.and po|int is a|
|000010a0| 74 20 74 68 65 20 6c 6f | 77 65 72 20 72 69 67 68 |t the lo|wer righ|
|000010b0| 74 20 63 6f 72 6e 65 72 | 2e 1f 0a 28 64 65 66 61 |t corner|...(defa|
|000010c0| 6c 69 61 73 20 27 69 6e | 73 65 72 74 2d 72 65 63 |lias 'in|sert-rec|
|000010d0| 74 61 6e 67 6c 65 20 23 | 5b 28 72 65 63 74 61 6e |tangle #|[(rectan|
|000010e0| 67 6c 65 29 20 22 08 69 | c1 1a 1b 1c c5 20 88 0c |gle) ".i|..... ..|
|000010f0| ad 9e 5c 6e ac 8e c6 79 | 88 6e ac 83 c7 63 88 c8 |..\n...y|.n...c..|
|00001100| 0b c1 5c 22 88 c9 12 0c | 40 63 88 0c 41 89 14 ac |..\"....|@c..A...|
|00001110| 63 c9 2b 87 22 20 5b 72 | 65 63 74 61 6e 67 6c 65 |c.+." [r|ectangle|
|00001120| 20 74 20 66 69 72 73 74 | 20 69 6e 73 65 72 74 63 | t first| insertc|
|00001130| 6f 6c 75 6d 6e 20 6c 69 | 6e 65 73 20 70 75 73 68 |olumn li|nes push|
|00001140| 2d 6d 61 72 6b 20 31 20 | 3f 5c 6e 20 6d 6f 76 65 |-mark 1 |?\n move|
|00001150| 2d 74 6f 2d 63 6f 6c 75 | 6d 6e 20 6e 69 6c 5d 20 |-to-colu|mn nil] |
|00001160| 34 20 28 23 24 20 2e 20 | 33 39 37 35 29 5d 29 0a |4 (#$ . |3975)]).|
|00001170| 23 40 31 39 34 20 42 6c | 61 6e 6b 20 6f 75 74 20 |#@194 Bl|ank out |
|00001180| 72 65 63 74 61 6e 67 6c | 65 20 77 69 74 68 20 63 |rectangl|e with c|
|00001190| 6f 72 6e 65 72 73 20 61 | 74 20 70 6f 69 6e 74 20 |orners a|t point |
|000011a0| 61 6e 64 20 6d 61 72 6b | 2c 20 73 68 69 66 74 69 |and mark|, shifti|
|000011b0| 6e 67 20 74 65 78 74 20 | 72 69 67 68 74 2e 0a 54 |ng text |right..T|
|000011c0| 68 65 20 74 65 78 74 20 | 70 72 65 76 69 6f 75 73 |he text |previous|
|000011d0| 6c 79 20 69 6e 20 74 68 | 65 20 72 65 67 69 6f 6e |ly in th|e region|
|000011e0| 20 69 73 20 6e 6f 74 20 | 6f 76 65 72 77 72 69 74 | is not |overwrit|
|000011f0| 74 65 6e 20 62 79 20 74 | 68 65 20 62 6c 61 6e 6b |ten by t|he blank|
|00001200| 73 2c 0a 62 75 74 20 69 | 6e 73 74 65 61 64 20 77 |s,.but i|nstead w|
|00001210| 69 6e 64 73 20 75 70 20 | 74 6f 20 74 68 65 20 72 |inds up |to the r|
|00001220| 69 67 68 74 20 6f 66 20 | 74 68 65 20 72 65 63 74 |ight of |the rect|
|00001230| 61 6e 67 6c 65 2e 1f 0a | 28 64 65 66 61 6c 69 61 |angle...|(defalia|
|00001240| 73 20 27 6f 70 65 6e 2d | 72 65 63 74 61 6e 67 6c |s 'open-|rectangl|
|00001250| 65 20 23 5b 28 73 74 61 | 72 74 20 65 6e 64 29 20 |e #[(sta|rt end) |
|00001260| 22 c0 c1 5c 6e 0b c4 24 | 88 5c 6e 62 87 22 20 5b |"..\n..$|.\nb." [|
|00001270| 6f 70 65 72 61 74 65 2d | 6f 6e 2d 72 65 63 74 61 |operate-|on-recta|
|00001280| 6e 67 6c 65 20 6f 70 65 | 6e 2d 72 65 63 74 61 6e |ngle ope|n-rectan|
|00001290| 67 6c 65 2d 6c 69 6e 65 | 20 73 74 61 72 74 20 65 |gle-line| start e|
|000012a0| 6e 64 20 6e 69 6c 5d 20 | 35 20 28 23 24 20 2e 20 |nd nil] |5 (#$ . |
|000012b0| 34 34 37 30 29 20 22 72 | 22 5d 29 0a 28 64 65 66 |4470) "r|"]).(def|
|000012c0| 61 6c 69 61 73 20 27 6f | 70 65 6e 2d 72 65 63 74 |alias 'o|pen-rect|
|000012d0| 61 6e 67 6c 65 2d 6c 69 | 6e 65 20 23 5b 28 73 74 |angle-li|ne #[(st|
|000012e0| 61 72 74 70 6f 73 20 62 | 65 67 65 78 74 72 61 20 |artpos b|egextra |
|000012f0| 65 6e 64 65 78 74 72 61 | 29 20 22 69 08 5c 5c c1 |endextra|) "i.\\.|
|00001300| 1a 1b 0c 62 88 69 0d 5a | 1e 06 c7 c1 77 88 69 0e |...b.i.Z|....w.i.|
|00001310| 06 5a 12 29 0c 60 7c 88 | 0b 5c 6e 5c 5c 6a 2a 87 |.Z.).`|.|.\n\\j*.|
|00001320| 22 20 5b 65 6e 64 65 78 | 74 72 61 20 6e 69 6c 20 |" [endex|tra nil |
|00001330| 77 68 69 74 65 77 69 64 | 74 68 20 65 6e 64 63 6f |whitewid|th endco|
|00001340| 6c 20 73 74 61 72 74 70 | 6f 73 20 62 65 67 65 78 |l startp|os begex|
|00001350| 74 72 61 20 62 65 67 63 | 6f 6c 20 22 20 09 22 5d |tra begc|ol " ."]|
|00001360| 20 32 5d 29 0a 23 40 32 | 36 37 20 49 6e 73 65 72 | 2]).#@2|67 Inser|
|00001370| 74 20 53 54 52 49 4e 47 | 20 6f 6e 20 65 61 63 68 |t STRING| on each|
|00001380| 20 6c 69 6e 65 20 6f 66 | 20 74 68 65 20 72 65 67 | line of| the reg|
|00001390| 69 6f 6e 2d 72 65 63 74 | 61 6e 67 6c 65 2c 20 73 |ion-rect|angle, s|
|000013a0| 68 69 66 74 69 6e 67 20 | 74 65 78 74 20 72 69 67 |hifting |text rig|
|000013b0| 68 74 2e 0a 54 68 65 20 | 6c 65 66 74 20 65 64 67 |ht..The |left edg|
|000013c0| 65 20 6f 66 20 74 68 65 | 20 72 65 63 74 61 6e 67 |e of the| rectang|
|000013d0| 6c 65 20 73 70 65 63 69 | 66 69 65 73 20 74 68 65 |le speci|fies the|
|000013e0| 20 63 6f 6c 75 6d 6e 20 | 66 6f 72 20 69 6e 73 65 | column |for inse|
|000013f0| 72 74 69 6f 6e 2e 0a 54 | 68 69 73 20 63 6f 6d 6d |rtion..T|his comm|
|00001400| 61 6e 64 20 64 6f 65 73 | 20 6e 6f 74 20 64 65 6c |and does| not del|
|00001410| 65 74 65 20 6f 72 20 6f | 76 65 72 77 72 69 74 65 |ete or o|verwrite|
|00001420| 20 61 6e 79 20 65 78 69 | 73 74 69 6e 67 20 74 65 | any exi|sting te|
|00001430| 78 74 2e 0a 0a 43 61 6c | 6c 65 64 20 66 72 6f 6d |xt...Cal|led from|
|00001440| 20 61 20 70 72 6f 67 72 | 61 6d 2c 20 74 61 6b 65 | a progr|am, take|
|00001450| 73 20 74 68 72 65 65 20 | 61 72 67 73 3b 20 53 54 |s three |args; ST|
|00001460| 41 52 54 2c 20 45 4e 44 | 20 61 6e 64 20 53 54 52 |ART, END| and STR|
|00001470| 49 4e 47 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ING...(d|efalias |
|00001480| 27 73 74 72 69 6e 67 2d | 72 65 63 74 61 6e 67 6c |'string-|rectangl|
|00001490| 65 20 23 5b 28 73 74 61 | 72 74 20 65 6e 64 20 73 |e #[(sta|rt end s|
|000014a0| 74 72 69 6e 67 29 20 22 | c0 c1 5c 6e 0b c4 0d 25 |tring) "|..\n...%|
|000014b0| 87 22 20 5b 6f 70 65 72 | 61 74 65 2d 6f 6e 2d 72 |." [oper|ate-on-r|
|000014c0| 65 63 74 61 6e 67 6c 65 | 20 73 74 72 69 6e 67 2d |ectangle| string-|
|000014d0| 72 65 63 74 61 6e 67 6c | 65 2d 6c 69 6e 65 20 73 |rectangl|e-line s|
|000014e0| 74 61 72 74 20 65 6e 64 | 20 74 20 73 74 72 69 6e |tart end| t strin|
|000014f0| 67 5d 20 36 20 28 23 24 | 20 2e 20 34 39 37 31 29 |g] 6 (#$| . 4971)|
|00001500| 20 22 72 5c 6e 73 53 74 | 72 69 6e 67 20 72 65 63 | "r\nsSt|ring rec|
|00001510| 74 61 6e 67 6c 65 3a 20 | 22 5d 29 0a 28 64 65 66 |tangle: |"]).(def|
|00001520| 61 6c 69 61 73 20 27 73 | 74 72 69 6e 67 2d 72 65 |alias 's|tring-re|
|00001530| 63 74 61 6e 67 6c 65 2d | 6c 69 6e 65 20 23 5b 28 |ctangle-|line #[(|
|00001540| 73 74 61 72 74 70 6f 73 | 20 62 65 67 65 78 74 72 |startpos| begextr|
|00001550| 61 20 65 6e 64 65 78 74 | 72 61 20 73 74 72 69 6e |a endext|ra strin|
|00001560| 67 29 20 22 c0 19 5c 6e | 62 88 69 1b c4 c0 77 88 |g) "..\n|b.i...w.|
|00001570| 69 0b 5a 11 29 5c 6e 60 | 7c 88 0d 63 88 69 09 5c |i.Z.)\n`||..c.i.\|
|00001580| 5c 6a 29 87 22 20 5b 6e | 69 6c 20 77 68 69 74 65 |\j)." [n|il white|
|00001590| 73 70 61 63 65 20 73 74 | 61 72 74 70 6f 73 20 6f |space st|artpos o|
|000015a0| 63 6f 6c 20 22 20 09 22 | 20 73 74 72 69 6e 67 5d |col " ."| string]|
|000015b0| 20 32 5d 29 0a 23 40 31 | 39 30 20 42 6c 61 6e 6b | 2]).#@1|90 Blank|
|000015c0| 20 6f 75 74 20 72 65 63 | 74 61 6e 67 6c 65 20 77 | out rec|tangle w|
|000015d0| 69 74 68 20 63 6f 72 6e | 65 72 73 20 61 74 20 70 |ith corn|ers at p|
|000015e0| 6f 69 6e 74 20 61 6e 64 | 20 6d 61 72 6b 2e 0a 54 |oint and| mark..T|
|000015f0| 68 65 20 74 65 78 74 20 | 70 72 65 76 69 6f 75 73 |he text |previous|
|00001600| 6c 79 20 69 6e 20 74 68 | 65 20 72 65 67 69 6f 6e |ly in th|e region|
|00001610| 20 69 73 20 6f 76 65 72 | 77 72 69 74 74 65 6e 20 | is over|written |
|00001620| 62 79 20 74 68 65 20 62 | 6c 61 6e 6b 73 2e 0a 57 |by the b|lanks..W|
|00001630| 68 65 6e 20 63 61 6c 6c | 65 64 20 66 72 6f 6d 20 |hen call|ed from |
|00001640| 61 20 70 72 6f 67 72 61 | 6d 2c 20 72 65 71 75 69 |a progra|m, requi|
|00001650| 72 65 73 20 74 77 6f 20 | 61 72 67 73 20 77 68 69 |res two |args whi|
|00001660| 63 68 20 73 70 65 63 69 | 66 79 20 74 68 65 20 63 |ch speci|fy the c|
|00001670| 6f 72 6e 65 72 73 2e 1f | 0a 28 64 65 66 61 6c 69 |orners..|.(defali|
|00001680| 61 73 20 27 63 6c 65 61 | 72 2d 72 65 63 74 61 6e |as 'clea|r-rectan|
|00001690| 67 6c 65 20 23 5b 28 73 | 74 61 72 74 20 65 6e 64 |gle #[(s|tart end|
|000016a0| 29 20 22 c0 c1 5c 6e 0b | c4 24 87 22 20 5b 6f 70 |) "..\n.|.$." [op|
|000016b0| 65 72 61 74 65 2d 6f 6e | 2d 72 65 63 74 61 6e 67 |erate-on|-rectang|
|000016c0| 6c 65 20 63 6c 65 61 72 | 2d 72 65 63 74 61 6e 67 |le clear|-rectang|
|000016d0| 6c 65 2d 6c 69 6e 65 20 | 73 74 61 72 74 20 65 6e |le-line |start en|
|000016e0| 64 20 74 5d 20 35 20 28 | 23 24 20 2e 20 35 35 36 |d t] 5 (|#$ . 556|
|000016f0| 33 29 20 22 72 22 5d 29 | 0a 28 64 65 66 61 6c 69 |3) "r"])|.(defali|
|00001700| 61 73 20 27 63 6c 65 61 | 72 2d 72 65 63 74 61 6e |as 'clea|r-rectan|
|00001710| 67 6c 65 2d 6c 69 6e 65 | 20 23 5b 28 73 74 61 72 |gle-line| #[(star|
|00001720| 74 70 6f 73 20 62 65 67 | 65 78 74 72 61 20 65 6e |tpos beg|extra en|
|00001730| 64 65 78 74 72 61 29 20 | 22 c0 c1 77 88 69 5c 6e |dextra) |"..w.i\n|
|00001740| 5c 5c 1b 60 0c 62 88 c0 | c1 78 88 60 7c 88 0b 6a |\\.`.b..|.x.`|..j|
|00001750| 29 87 22 20 5b 22 20 09 | 22 20 6e 69 6c 20 65 6e |)." [" .|" nil en|
|00001760| 64 65 78 74 72 61 20 63 | 6f 6c 75 6d 6e 20 73 74 |dextra c|olumn st|
|00001770| 61 72 74 70 6f 73 5d 20 | 33 5d 29 0a 28 70 72 6f |artpos] |3]).(pro|
|00001780| 76 69 64 65 20 27 72 65 | 63 74 29 0a |vide 're|ct). |
+--------+-------------------------+-------------------------+--------+--------+